public class Animal {
    String name;
    public void cry(){
        System.out.println(this.name + " is crying");
    }

    public void getAnimalName(){
        System.out.println("Your name is "+ this.name);
    }
}
